package com.gph.saviorframework.mq.service.impl.config;

import com.alibaba.rocketmq.common.MixAll;

/**
 * Created by root on 16-7-18.
 */
public class ConfigureInitializer {

    private String namesrvAddr;

    public String getNamesrvAddr() {
        return namesrvAddr;
    }

    public void setNamesrvAddr(String namesrvAddr) {
        this.namesrvAddr = namesrvAddr;
    }

    public void init() {
        System.setProperty(MixAll.NAMESRV_ADDR_PROPERTY, namesrvAddr);
    }
}
